﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="List_yq.aspx.cs" Inherits="Three_Managerment_Problem_three_List_yq" %>


<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <link href="/style/css/style.css" rel="stylesheet" type="text/css" />  
      <link href="/style/css/style3.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="/style/js/jquery-3.1.1.min.js"></script>
    <script type="text/javascript" src="/style/js/jquery.idTabs.min.js"></script>
    <script type="text/javascript" src="/style/js/select-ui.min.js"></script>
    <script type="text/javascript" src="/style/editor/kindeditor.js"></script>

    <script type="text/javascript">
        KE.show({
            id: 'content7',
            cssPath: './index.css'
        });
    </script>

    <script type="text/javascript">
        $(document).ready(function (e) {
            $(".select1").uedSelect({
                width: 345
            });
            $(".select2").uedSelect({
                width: 167
            });
            $(".select3").uedSelect({
                width: 100
            });
        });
    </script>

    <style>
        .pager {
            width: 95%;
            margin: 10px;
            line-height: 20px;
            display: block;
        }

            .pager span {
                border: 1px solid #CCCCCC;
                margin: 0 5px;
                padding: 1px 6px;
                float: left;
            }

            .pager a {
                border: 1px solid #CCCCCC;
                display: block;
                overflow: hidden;
                float: left;
                margin: 0 5px;
                padding: 1px 6px;
            }

                .pager a:hover {
                    border: 1 solid red;
                    background-color: #1657a8;
                    color: #ffffff;
                    margin: 0 5px;
                    padding: 1px 6px;
                }
    </style>


    
    <%--timepicker--%>
        <link type="text/css" href="http://code.jquery.com/ui/1.9.1/themes/smoothness/jquery-ui.css" rel="stylesheet" />

    <link href="/style/jQuery-Timepicker-Addon/jquery-ui-timepicker-addon.css" type="text/css" />
    <link href="/style/jQuery-Timepicker-Addon/demos.css" rel="stylesheet" type="text/css" />

    <%--<script src="http://code.jquery.com/jquery-1.8.2.min.js" type="text/javascript"></script>--%>
    <script type="text/javascript" src="http://code.jquery.com/ui/1.9.1/jquery-ui.min.js"></script>
    <script src="/style/jQuery-Timepicker-Addon/jquery-ui-timepicker-addon.js" type="text/javascript"></script>

    <!--中文-->
    <script src="/style/js/jquery.ui.datepicker-zh-CN.js.js" type="text/javascript" charset="gb2312"></script>
    <script src="/style/js/jquery-ui-timepicker-zh-CN.js" type="text/javascript"></script>
    <script type="text/javascript">
        jQuery(function () {
            // 时间设置
            jQuery('#times').datetimepicker({
                timeFormat: "HH:mm:ss",
                dateFormat: "yy-mm-dd"
            });
      
        });
    </script>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <div class="place">
            <span>位置：</span>
            <ul class="placeul">
                <li><a href="Index.aspx">首页</a></li>
                <li><a href="#">延期列表</a></li>
            </ul>
        </div>

        <div class="formbody">


            <div id="usual1" class="usual">

                <div class="itab">
                    <ul>
                        <li><a href="#tab1" class="selected">延期事件申请列表</a></li>
                        <li><a href="#tab2">延期申请</a></li>
                    </ul>
                </div>

                <div id="tab1" class="tabson">
                    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                        <ContentTemplate>
                            <table class="tablelist">
                                <asp:Repeater runat="server" ID="repeater2" OnItemDataBound="repeater_ItemDataBound">
                                    <HeaderTemplate>
                                        <thead>
                                            <tr>
                                                <th width="10%">事件编号</th>
                                                <th width="10%">事件标题</th>
                                                <th width="10%">登记时间</th>
                                                <th width="10%">限办时间</th>
                                                <th width="10%">延期时间</th>
                                                <th width="10%">责任单位</th>
                                                <th width="10%">办理单位</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                    </HeaderTemplate>
                                    <ItemTemplate>
                                        <tr onclick="javascript:window.location.href='Edit2.aspx?type=look&id=<%#Eval("id") %>'">

                                            <td style="overflow: hidden"><%#Eval("idopen") %></td>
                                            <asp:Repeater runat="server" ID="rep1">
                                                <ItemTemplate>
                                                    <td><%#Eval("title") %></td>
                                                </ItemTemplate>
                                            </asp:Repeater>
                                            <asp:Repeater runat="server" ID="rep2">
                                                <ItemTemplate>
                                                    <td><%#Eval("regtime") %></td>
                                                </ItemTemplate>
                                            </asp:Repeater>
                                            <asp:Repeater runat="server" ID="rep3">
                                                <ItemTemplate>
                                                    <td><%#Eval("xbtime") %></td>
                                                </ItemTemplate>
                                            </asp:Repeater>
                                            <td style="overflow: hidden"><%#Eval("times") %></td>
                                            <asp:Repeater runat="server" ID="rep5">
                                                <ItemTemplate>
                                                    <td style="overflow: hidden"><%#Eval("NAME") %></td>
                                                </ItemTemplate>
                                            </asp:Repeater>
                                            <asp:Repeater runat="server" ID="rep6">
                                                <ItemTemplate>
                                                    <td style="overflow: hidden"><%#Eval("DWMC") %></td>
                                                </ItemTemplate>
                                            </asp:Repeater>
                                        </tr>
                                    </ItemTemplate>
                                    <FooterTemplate>
                                        <%#repeater2.Items.Count == 0 ? "<tr><td align=\"center\" colspan=\"20\">暂无记录</td></tr>" : ""%>
                                        </tbody>
                                    </FooterTemplate>
                                </asp:Repeater>
                            </table>


                            <div class="pager">
                                <webdiyer:AspNetPager
                                    ID="AspNetPager2" runat="server" AlwaysShow="True" FirstPageText="首页"
                                    LastPageText="尾页" NextPageText="下一页" OnPageChanged="AspNetPager2_PageChanged"
                                    PrevPageText="上一页" PageSize="10">
                                </webdiyer:AspNetPager>
                            </div>

                        </ContentTemplate>
                    </asp:UpdatePanel>
                </div>


                <div id="tab2" class="tabson">
                    <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                        <ContentTemplate>
                        

            <div class="bottab2">
                <div class="bottab2_l">
                    <p>事件编号：</p>
                   
                    <asp:DropDownList runat="server" ID="bianhao" AutoPostBack="true" OnSelectedIndexChanged="bianhao_SelectedIndexChanged">

                    </asp:DropDownList>
                         
                </div>
                <div class="bottab2_r">
                        <p>延期至：</p>
                    <input id="times" type="text" runat="server" />
                
                </div>
            </div>
            <div class="bottab2">
                <div class="bottab2_l">
                    <p>诉求人姓名  ：</p>
                    <input name="" id="name"  runat="server" type="text"  readonly="true"/>                  
                </div>
                <div class="bottab2_r">
                    <p>联系电话：</p>
                    <input name="" id="tel" runat="server" type="text" readonly="true"/>                    
                </div>
            </div>
            <div class="bottab2">
                <div class="bottab2_l">
                    <p>诉求大类：</p>
                    <input name="" id="dalei" runat="server" type="text" readonly="true"/>
                    
                </div>
                <div class="bottab2_r">
                    <p>诉求小类：</p>
                    <input name="" id="xiaolei" runat="server" type="text" readonly="true"/>                  
                </div>

            </div>
            <div class="bottab2">
                <div class="bottab2_l">
                    <p>登记时间：</p>
                    <input name="" id="regtime" runat="server" type="text" readonly="true"/>
                    
                </div>
                <div class="bottab2_r">
                    <p>限办时间：</p>
                    <input name="" id="xbtime" runat="server" type="text" readonly="true"/>
                    
                </div>

            </div>
            
                </div>
            <div class="bottab1">
                <p>电子信箱：</p>
                <input name="" id="email" runat="server" type="email" readonly="true"/>
            </div>
 
            <div class="bottab1">
                <p>诉求主题：</p>
                <input name="" id="title" runat="server" type="text" readonly="true"/>
                
            </div>
            <div class="bottab1" style="height: 210px;">
                <p>主要内容：</p>
                <!--<input type="text" value="123456789" /> -->
                <!--  <span>（说明：请限制在2000字以内，最好写明问题归属的区县或机关单位。）</span>-->
                <textarea name="" id="con" runat="server" style="resize: none" readonly="true" class="textinput"></textarea>
            </div>
    
            <%--<asp:Button runat="server" OnClientClick="return yanz()"   name="" type="button" class="bunt_2" Style="margin-right: 20px" OnClick="Unnamed_Click" Text="提交" /><label>&nbsp;</label><input name="" type="reset" class="bunt_2" value="重置" />--%>
                            <asp:Button runat="server" name="" type="button" class="bunt_2" Style="margin-right: 20px" OnClick="Unnamed_Click1" Text="申请延期" />
        </div>

                        </ContentTemplate>
                    </asp:UpdatePanel>
                </div>
                <script type="text/javascript">
                    $("#usual1 ul").idTabs();
                </script>

                <script type="text/javascript">
                    $('.tablelist tbody tr:odd').addClass('odd');
                </script>
            </div>
    </form>
</body>
</html>



